
#include <stdio.h>
#include <stdlib.h>

void f1(int *p)
{
	p = (int *)malloc(sizeof(int));
}

int main(void)
{
	int *p;
	
	f1(p);
	printf("set heap\n");

	*p = 4;

	free(p);

	return 0;
}


